Optimal. Leaf size=72 \[ \frac{2 \sqrt{a+b x} \left (a^2 e-a b d+b^2 c\right )}{b^3}+\frac{2 (a+b x)^{3/2} (b d-2 a e)}{3 b^3}+\frac{2 e (a+b x)^{5/2}}{5 b^3} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.085047, antiderivative size = 72, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.05 \[ \frac{2 \sqrt{a+b x} \left (a^2 e-a b d+b^2 c\right )}{b^3}+\frac{2 (a+b x)^{3/2} (b d-2 a e)}{3 b^3}+\frac{2 e (a+b x)^{5/2}}{5 b^3} \]
Antiderivative was successfully verified.
[In] Int[(c + d*x + e*x^2)/Sqrt[a + b*x],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 13.8333, size = 68, normalized size = 0.94 \[ \frac{2 e \left (a + b x\right )^{\frac{5}{2}}}{5 b^{3}} - \frac{2 \left (a + b x\right )^{\frac{3}{2}} \left (2 a e - b d\right )}{3 b^{3}} + \frac{2 \sqrt{a + b x} \left (a^{2} e - a b d + b^{2} c\right )}{b^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((e*x**2+d*x+c)/(b*x+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0555634, size = 53, normalized size = 0.74 \[ \frac{2 \sqrt{a+b x} \left (8 a^2 e-2 a b (5 d+2 e x)+b^2 (15 c+x (5 d+3 e x))\right )}{15 b^3} \]
Antiderivative was successfully verified.
[In] Integrate[(c + d*x + e*x^2)/Sqrt[a + b*x],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.006, size = 53, normalized size = 0.7 \[{\frac{6\,e{x}^{2}{b}^{2}-8\,abex+10\,{b}^{2}dx+16\,{a}^{2}e-20\,abd+30\,{b}^{2}c}{15\,{b}^{3}}\sqrt{bx+a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((e*x^2+d*x+c)/(b*x+a)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.42257, size = 104, normalized size = 1.44 \[ \frac{2 \,{\left (15 \, \sqrt{b x + a} c + \frac{5 \,{\left ({\left (b x + a\right )}^{\frac{3}{2}} - 3 \, \sqrt{b x + a} a\right )} d}{b} + \frac{{\left (3 \,{\left (b x + a\right )}^{\frac{5}{2}} - 10 \,{\left (b x + a\right )}^{\frac{3}{2}} a + 15 \, \sqrt{b x + a} a^{2}\right )} e}{b^{2}}\right )}}{15 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x^2 + d*x + c)/sqrt(b*x + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.21953, size = 72, normalized size = 1. \[ \frac{2 \,{\left (3 \, b^{2} e x^{2} + 15 \, b^{2} c - 10 \, a b d + 8 \, a^{2} e +{\left (5 \, b^{2} d - 4 \, a b e\right )} x\right )} \sqrt{b x + a}}{15 \, b^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x^2 + d*x + c)/sqrt(b*x + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 3.72752, size = 223, normalized size = 3.1 \[ \begin{cases} - \frac{\frac{2 a c}{\sqrt{a + b x}} + \frac{2 a d \left (- \frac{a}{\sqrt{a + b x}} - \sqrt{a + b x}\right )}{b} + \frac{2 a e \left (\frac{a^{2}}{\sqrt{a + b x}} + 2 a \sqrt{a + b x} - \frac{\left (a + b x\right )^{\frac{3}{2}}}{3}\right )}{b^{2}} + 2 c \left (- \frac{a}{\sqrt{a + b x}} - \sqrt{a + b x}\right ) + \frac{2 d \left (\frac{a^{2}}{\sqrt{a + b x}} + 2 a \sqrt{a + b x} - \frac{\left (a + b x\right )^{\frac{3}{2}}}{3}\right )}{b} + \frac{2 e \left (- \frac{a^{3}}{\sqrt{a + b x}} - 3 a^{2} \sqrt{a + b x} + a \left (a + b x\right )^{\frac{3}{2}} - \frac{\left (a + b x\right )^{\frac{5}{2}}}{5}\right )}{b^{2}}}{b} & \text{for}\: b \neq 0 \\\frac{c x + \frac{d x^{2}}{2} + \frac{e x^{3}}{3}}{\sqrt{a}} & \text{otherwise} \end{cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x**2+d*x+c)/(b*x+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.206862, size = 117, normalized size = 1.62 \[ \frac{2 \,{\left (15 \, \sqrt{b x + a} c + \frac{5 \,{\left ({\left (b x + a\right )}^{\frac{3}{2}} - 3 \, \sqrt{b x + a} a\right )} d}{b} + \frac{{\left (3 \,{\left (b x + a\right )}^{\frac{5}{2}} b^{8} - 10 \,{\left (b x + a\right )}^{\frac{3}{2}} a b^{8} + 15 \, \sqrt{b x + a} a^{2} b^{8}\right )} e}{b^{10}}\right )}}{15 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x^2 + d*x + c)/sqrt(b*x + a),x, algorithm="giac")
[Out]